package com.jinlejia.erp.ui.mine.contract;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import androidx.appcompat.app.AppCompatActivity;
import androidx.databinding.DataBindingUtil;

import com.jinlejia.erp.R;
import com.jinlejia.erp.databinding.ActivityContractAuditCoverBinding;

/**
 * 合同/补充协议
 */
public class ContractAuditCoverActivity extends AppCompatActivity {
    private ActivityContractAuditCoverBinding binding;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        binding = DataBindingUtil.setContentView(this, R.layout.activity_contract_audit_cover);
        binding.setEvent(this);
    }

    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.back_btn:
                finish();
                break;
            case R.id.contract_audit:
                Intent intent = new Intent(ContractAuditCoverActivity.this, AuditContractManagerActivity.class);
                startActivity(intent);
                break;
            case R.id.supplemental_agreement:
                startActivity(new Intent(ContractAuditCoverActivity.this, SupplementalAgreementActivity.class));
                break;
        }
    }
}
